projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1410fc5
)
clang tidy 18 fixes readability-redundant-casting (#1262)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Fri, 8 Mar 2024 18:42:01 +0000
(11:42 -0700)
committer
GitHub
<noreply@github.com>
Fri, 8 Mar 2024 18:42:01 +0000
(11:42 -0700)
jeeps/gpssend.cc
patch
|
blob
|
history
diff --git
a/jeeps/gpssend.cc
b/jeeps/gpssend.cc
index 55eaa5752c60432930c1049b8eef487320123ad7..c3689452967116b79edfc63c83b2eb990ed5146a 100644
(file)
--- a/
jeeps/gpssend.cc
+++ b/
jeeps/gpssend.cc
@@
-193,7
+193,7
@@
bool GPS_Serial_Send_Ack(gpsdevh* fd, GPS_Packet* tra, GPS_Packet* rec)
{
UC data[2];
- GPS_Util_Put_Short(data,
(US)
rec->type);
+ GPS_Util_Put_Short(data,rec->type);
GPS_Make_Packet(tra,LINK_ID[0].Pid_Ack_Byte,data,2);
if (!GPS_Write_Packet(fd,*tra)) {
GPS_Error("Error acknowledging packet");